package com.neuedu.dao.impl;

import com.neuedu.common.DBUtil;
import com.neuedu.dao.BaseDao;
import com.neuedu.dao.DeptmentDao;

import java.sql.Connection;
import java.util.List;
import java.util.Map;

public class DeptmentDaoImpl extends BaseDao implements DeptmentDao {
    @Override
    public List<Map<String, Object>> getAllDeptmentDao(String sql) {
        Connection con = DBUtil.getCon();
        return this.querySql(con, sql);
    }
}
